package com.health.service.impl;

import com.health.mapper.UserMapper;
import com.health.model.enity.Manager;
import com.health.service.UserService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
        public Manager findAll() {
        //return userMapper.selectById(1);
        Manager manager = new Manager();
        manager.setMobile("123456");
        return manager;
    }
}
